<?
require_once("../inc.init.php");

// seting module ID to lang
$lang->moduleID = $module->id;
$lang->loadLang();

// Login user actions
$aLog = new adminLog();
$aLog->setDBLink($dbLink);
$aLog->setModule($module->id);

if (!$user->isEnabledTo("read", $module->id))
{
    header("location: ". $GLOBALS["CONF"]["url"]["admin"] ."/?m=". messageUrlEncode(ucfirst($lang->translate('access_denied'))."."));
    exit(0);
}

?>
